package com.liuhouse.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 这是菜单树固定需要的字段
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class MenuTreeVo {

    //节点Id
    private Long id;

    //节点名称
    private String label;

    //节点的父节点
    private Long parentId;

    //子节点
    private List<MenuTreeVo> children;

}
